import {Module} from '@nestjs/common';
import {UserController} from "./user.controller";
import {UserService} from "./service/user.service";
import {TypeOrmModule} from "@nestjs/typeorm";
import {User} from "@/entitys/base/user.entity";
import {CompanyModule} from "@/modules/company/company.module";

@Module({
    imports: [TypeOrmModule.forFeature([User]), CompanyModule],
    controllers: [UserController],
    providers: [UserService],
    exports: [UserService]
})
export class UserModule {}
